<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-starttime" class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm" data-use-current="true" name="row[starttime]" type="text" value="{$row.starttime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-branchids" class="control-label col-xs-12 col-sm-2">{:__('Branchids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branchids" data-rule="required" data-source="branch/selectpage" data-params='' data-multiple="false" class="form-control selectpage" name="row[branchids]" type="text" value="{$row.branchids}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classid" class="control-label col-xs-12 col-sm-2">{:__('Classid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classid" data-rule="required" data-source="eduadmin/classes/selectpage" data-params='' data-multiple="true" class="form-control selectpage" name="row[classid]" type="text" value="{$row.classid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-teacherid" class="control-label col-xs-12 col-sm-2">{:__('Teacherid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-teacherid" data-rule="required" data-source="eduadmin/classes/selectpage" data-params='' data-field='nickname' data-multiple="false" class="form-control selectpage" name="row[teacherid]" type="text" value="{$row.teacherid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classroomid" class="control-label col-xs-12 col-sm-2">{:__('Classroomid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classroomid" data-rule="required" data-source="baseadmin/classroom/selectpage" data-params='' class="form-control selectpage" name="row[classroomid]" type="text" value="{$row.classroomid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-classimages" class="control-label col-xs-12 col-sm-2">{:__('Classimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-classimages" class="form-control" size="50" name="row[classimages]" type="text" value="{$row.classimages}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-classimages" class="btn btn-danger plupload" data-input-id="c-classimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-classimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-classimages" class="btn btn-primary fachoose" data-input-id="c-classimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-classimages"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-classimages"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-createtime" class="control-label col-xs-12 col-sm-2">{:__('Createtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createtime]" type="text" value="{$row.createtime|datetime}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-createby" class="control-label col-xs-12 col-sm-2">{:__('Createby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createby" class="form-control" name="row[createby]" type="text" value="{$row.createby}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updatetime" class="control-label col-xs-12 col-sm-2">{:__('Updatetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updatetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[updatetime]" type="text" value="{$row.updatetime|datetime}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updateby" class="control-label col-xs-12 col-sm-2">{:__('Updateby')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updateby" class="form-control" name="row[updateby]" type="text" value="{$row.updateby}" readonly="readonly">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
